package com.tanhua.common.enums;

import com.baomidou.mybatisplus.core.enums.IEnum;

/**
 * 审核状态
 */
public enum PassType implements IEnum<Integer> {

    WAIT(1, "待审核"),
    ZDPASS(2 , "自动审核通过"),
    WAITPERSON(3 , "待人工审核"),
    PERSONREFUSE(4 , "人工审核拒绝"),
    PERSONPASS(5, "人工审核通过"),
    ZDREFUSE(6 , "自动审核拒绝");

    private int value;
    private String desc;

    PassType(int value , String desc){
        this.value = value;
        this.desc = desc;
    }

    @Override
    public Integer getValue() {
        return this.value;
    }

    @Override
    public String toString() {
        return this.desc;
    }
}
